package com.horay.springclouddemo.model.member;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * 成员
 *
 * @author heyingcheng
 * @date 2020/3/21 14:00
 */
@Setter
@Getter
@ToString
@NoArgsConstructor
public class Member {

    private Integer id;

    private String name;

    public Member(Integer id) {
        this.id = id;
        this.name = Member.class.getName().concat(String.valueOf(id));
    }

}
